package com.bdqn.service;
import com.bdqn.mapper.SupplierMapper;
import com.bdqn.pojo.Supplier;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;
@Service("supplierService")
public class SupplierServiceImpl implements SupplierService{
    @Resource
    private SupplierMapper supplierMapper;
    @Override
    public List<Supplier> getAll() {
        return supplierMapper.getAll();
    }
    @Override
    public List<Supplier> ListRoleId(int pageIndex, int pageSize, String supCode, String supName) {
        return supplierMapper.ListRoleId(pageIndex,pageSize, supCode,supName);
    }
    @Override
    public int getCount() {
        return supplierMapper.getCount();
    }
}
